package puyu.manage.service.constant;

/**
 *  @ClassName: 常量类
 *  @author: whl
 *  @Date: 2024/6/2 22:40
 *  @Description: Description of this class
 */

public class Constants {
    public static final String UTF8 = "UTF-8";
    public static final String SUCCESS = "0";
    public static final String FAIL = "1";
    public static final String LOGIN_SUCCESS = "Success";
    public static final String LOGOUT = "Logout";
    public static final String LOGIN_FAIL = "Error";
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";
    public static final Integer CAPTCHA_EXPIRATION = 2;
    public static final String TOKEN = "token";
    public static final String CAS_TOKEN = "cas_token";
    public static final String WEB_TOKEN_KEY = "Admin-Token";
    public static final String MSG = "msg";
    public static final String CODE = "code";
    public static final String SHOW_CHECK = "-1";
    public static final String TOKEN_PREFIX = "Bearer ";
    public static final String LOGIN_USER_KEY = "login_user_key";
    public static final String JWT_USERID = "userid";
    public static final String JWT_USERNAME = "sub";
    public static final String JWT_AVATAR = "avatar";
    public static final String JWT_CREATED = "created";
    public static final String JWT_AUTHORITIES = "authorities";
    public static final String RESOURCE_PREFIX = "/profile";
    public static final String FISCAL = "fiscal";
    public static final String MENU_ID = "menuId";
    public static final String REFERER = "Referer";
    public static final String TEMPLATE_CODE = "10001";
    public static final String YES = "1";
    public static final String NO = "0";
    public static final String DEFAULT_UNIT_ID = "*";
    public static final String WEB = "web";
    public static final String MOIBLE = "mobile";
    public static final String TOP_UNIT_ID = "1001";

    public Constants() {
    }
}
